import Vue from 'vue'
import './plugins/axios'
import App from './App.vue'
import router from './router'
// 引入elementui 所以组件
import ElementUI from 'element-ui'
//引入ElementUI 样
import 'element-ui/lib/theme-chalk/index.css'
// import { component } from 'vue/types/umd'



import axios from './plugins/axios'
// 引入vuex
import store from './store'
// 使用 ElementUI
Vue.use(ElementUI)

Vue.config.productionTip = false
// 将axios
Vue.prototype.$axios = axios
new Vue({
  router,
  store,
  ElementUI,
  // components:{
  //   App
  // },
  render: h => h(App)
}).$mount('#app')
